package com.donn.securitycontrolplatform.db1.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.donn.securitycontrolplatform.dangerousgood.entity.TEquipmentStorage;
import com.donn.securitycontrolplatform.dangerousgood.response.StorageResponse;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhenglx
 * @since 2022-07-08
 */
@Mapper
public interface TEquipmentStorageMapper extends BaseMapper<TEquipmentStorage> {

    List<StorageResponse> getLastWeekStorage(LocalDateTime plusDays, LocalDateTime now);
}
